const allRoutes = [
    {
        path:"welcome",
        component:() =>import("../pages/Home/Welcome"),
        name:"welcome",
        meta:{
            name:"管理首页",
            icon:"iconfont icon-shouye",
            fullPath:"/welcome"
        }
    },
    {
        path:"users",
        component:() =>import("../pages/Home/Users"),
        name:"users",
        meta:{
            fullPath: "/users",
            icon: "iconfont icon-yonghuguanli",
            name: "用户管理"
        }
    },
    {
        path:"statistics",
        component:() =>import("../pages/Home/Statistics"),
        name:"statistics",
        meta:{
            fullPath: "/statistics",
            icon: "iconfont icon-shujutongji",
            name: "数据统计"
        }
    },
    {
        path:"mine",
        component:() =>import("../pages/Home/Mine"),
        name:"mine",
        meta:{
          name:"我的中心",
          icon:"iconfont icon-wodezhongxin",
          fullPath:"/mine"
        }
    },
    {
        path:"attendance",
        component:() =>import("../pages/Home/Attendance"),
        name:"attendance",
        meta:{
            fullPath: "/attendance",
            icon: "iconfont icon-kaoqinguanli",
            name: "考勤管理"
        }
    },
    {
        path:"StudentManager",
        component:() =>import("../pages/Home/StudentManager"),
        name:"studentManager",
        redirect:"/studentManager/product",
        meta:{
            fullPath: "/StudentManager",
            icon: "iconfont icon-xueyuanguanli",
            name: "学员管理"
    },
        children:[
          {
            path:"profile",
            component:() =>import("../pages/Home/StudentManager/StudentProfile"),
            name: "profile",
            meta:{
                fullPath: "/studentManager/profile",
                icon: "iconfont icon-xueyuanziliao",
                name: "学员资料"
            }
          },
          {
            path:"product",
            component:() =>import("../pages/Home/StudentManager/StudentProduct"),
            name: "product",
            meta:{
                fullPath: "/studentManager/product",
                icon: "iconfont icon-xiangmuguanli",
                name: "学员项目管理"
            }
          },
          {
            path:"dormitory",
            component:() =>import("../pages/Home/StudentManager/StudentDormitory"),
            name: "dormitory",
            meta:{
                fullPath: "/studentManager/dormitory",
                icon: "iconfont icon-XX_001",
                name: "学员宿舍"
            }
        }
        ]
    }
]


export default allRoutes;